package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  KfAccountDO
 * @Description 客服账号
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("kf_account")
public class KfAccountDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 客服帐号ID
     */
    @TableField(value = "open_kfid")
    private String openKfid;

    /**
     * 客服名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 客服头像-本地URL
     */
    @TableField(value = "avatar")
    private String avatar;
    /**
     * 客服头像在企微的URL
     */
    @TableField(value = "avatar_url")
    private String avatarUrl;
    /**
     * 客服头像在企微的media_id
     */
    @TableField(value = "avatar_media_id")
    private String avatarMediaId;

    /**
     * 是否有该客服账号的管理权限
     */
    @TableField(value = "manage_privilege")
    private Integer managePrivilege;
    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;
    /**
     * 主账号；0=否；1=是，只能唯一
     */
    @TableField(value = "have_default")
    private Integer haveDefault;

    /**
     * 发布状态；0=禁用；1=启用
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 同步状态：0=未同步；1=已同步
     */
    @TableField(value = "sync_status")
    private Integer syncStatus;
}
